<%-- 
    Document   : calender
    Created on : Oct 9, 2012, 9:34:30 AM
    Author     : Nguyen Hung
--%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich"%>
<script type="text/javascript" language="javascript" src="../scripts/jQuery/jquery-ui-1.7.2.custom.min.js"></script>
            <script type="text/javascript" language="javascript">
                var $j=jQuery.noConflict();
                $j(document).ready(function(){

                        $j(window).resize(function(){
                            resetScreenMaster2();
                        });
                        resetScreenMaster2();
                    });

                function resetScreenMaster2(){
                    var h = $j("#content_detail").height()- 26;
                    $j(".MasterdataContentScrollCustomers").css("height",(h-180)+"px");
                    $j(".MasterdataContentScroll2").css("height",(h-180)+42+"px");
                    $j("#masterdata_categories").css("height",h+"px");
                    var height = window.innerHeight-100;
                    $j('#masterDataContentTemplate').css('height',height+'px');
                }


            </script>
<h:inputHidden id="activeSection" value="m10"/>
<!--Content-->
<%--<h:outputText value="<script>$j(document).ready(function() { $j('.admin_categories_row_group#{adminController.priGroupId}').children('.admin_categories_row_group').addClass('active_class'); });</script>" escape="false" />--%>
<h:inputHidden value="#{calendarController.navigator.section}"/>
<div id="container">
    <div id="content">
        <div id="content_detail" style="margin-top:-1px;background:#383839;">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td width="241" valign="top">
                        
                    </td>
                    <td valign="top" style="width:100%">
                                <div class="top_page_admin">
                                    <div class="header">
                                        <div class="header_detail">
                                            <div class="left">
                                                <!--                                            <span>Functions</span>-->
                                            </div>
                                        </div>
                                    </div>
                                </div>
                               
                        <div id="masterdata_lists">
                            <div class="masterdata_lists_detail">
                                <div class="masterdata_lists_content">

                                    <div class="masterdata_lists_content_title" style="float: left;width: 100%;">
                                        <span style="float:left"><h:outputText value="aloooooooooooooooo" /></span>
                                        <center>
                                            <rich:messages id="addTaskGlobalMessage"  styleClass="errorInfo"></rich:messages>
                                        </center>
                                    </div>

                                        <!-- Start Content-->
                                    <input type="hidden" value="MASTERDATA" id="menuActive"/>
                                    <div class="masterdata_lists_content_detail" style="width:100%">

                                        <table width="100%" class="masterdata_addnew" >
                                            <tr>
                                                <td align="left">
                                                    <a><span>&nbsp;</span></a>
                                                    <a href="holiday.jsp?actionPersonalNote=addPersonalNote&action=addholiday&iscalendar=iscalendar&flagAdded=true&KeepThis=true&TB_iframe=true&height=450&width=580&modal=true" class="thickbox">
                                                            <button type="button" class="button_add list_contact">
                                                                <span style="text-transform: capitalize">

                                                                    <h:outputText value="This is" />

                                                                </span>
                                                            </button>
                                                    </a>

                                                </td>
                                            </tr>
                                        </table>
                                         <div class="masterdata_lists">
                                                <div class="MasterdataContentScroll2" style="height:160px; background-color: white;">
                                                <jsp:include page="../mainpage/Employee/employeeCalender.jsp"/>
                                                </div>
                                         </div>
                                    </div>
                                      <!-- Start Content-->
                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div id="dialog-confirm" title="Delete Project">
	<p><span style="float:left; margin:0 7px 20px 0;"></span>This project will be deleted out of list . Are you sure?</p>
    </div>
</div>


